/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker;

import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;
import java.io.Serializable;

/**
 *
 * @author pol
 */
public class AreaDibujoNada extends AreaDibujo implements Serializable {

    public AreaDibujoNada() {
        repaint();
    }

    @Override
    public void paint(Graphics g) {
        pintaFondo(g);
        g.setColor(new Color(255, 255, 0));
        g.setFont(new Font(null, Font.BOLD, 30));
        Image img = Toolkit.getDefaultToolkit().getImage(getClass().getResource("Titulo.png"));
        g.drawImage(img, 170, 130, this);
    }
}
